package com.fary;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class,
		DataSourceTransactionManagerAutoConfiguration.class, HibernateJpaAutoConfiguration.class })
@EnableEurekaClient
@EnableFeignClients
public class AppPortalPay {

	public static void main(String[] args) {
		SpringApplication.run(AppPortalPay.class, args);
	}

}
/**
 *  1.创建支付令牌
 *		http://127.0.0.1:8600/cratePayToken?payAmount=300222&orderId=2019010203501502&userId=644064
 *  2.通过portalPay调用第三方支付平台
 *  	http://127.0.0.1:8050/pay?payToken=pay_84b6caad6a1c43ab9090be33c6a80b0d
 *
 */
